home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
asmutil
/
ma22#2.zip
/
MCASM#2.DOC
< prev
next >
Wrap
Text File
|
1992-02-05
|
52KB
|
1,367 lines
MICEPT INSTRUMENTS INC. MICEPT INSTRUMENTS INC.
Cross Assemblers (Series II) Cross Assemblers (Series II)
Version 2.20 Version 2.20
USER'S MANUAL USER'S MANUAL
Micept Instruments Inc.
377 Julien St.
Cap De La Madeleine, PQ
Canada G8T 6W6
DISCLAIMER DISCLAIMER
Micept Instruments Inc. disclaims all warranties as to this
software and the documentation, whether express or implied,
including, without limitation, any implied warranties of
merchantability and of fitness for any purpose. Micept
Instruments Inc. assumes no liability for damages, direct or
consequential, which may results from the use of this software or
the documentation.
Information in this document is subject to change without notice.
Copyright (C) 1991, 1992 by Micept Instruments Inc.
COPYRIGHT INFORMATION COPYRIGHT INFORMATION
This version of the software is distributed as shareware. This
version may be freely copied and distributed for evaluation
purposes as long as NO FEE IS CHARGE FOR USE, COPYING OR
DISTRIBUTION (EXCEPT FOR A NOMINAL DISTRIBUTION FEE PROVIDED THAT
IT IS NO MORE THAN $5 TOTAL) and as long as THE SOFTWARE PACKAGE
IS NOT MODIFIED IN ANY WAY.
USE OF THIS SOFTWARE BEYOND A REASONABLE EVALUATION PERIOD
REQUIRES REGISTRATION.
The entire package, consisting of the main programs,
documentation file and various utility files are all copyright
(C) 1991, 1992 by Micept Instruments Inc. All rights reserved.
Rockwell 6502 is a registered trademark of Rockwell International
Corporation.
MS-DOS is a trademark of Microsoft Corporation.
IBM, PC, XT, AT are trademarks of International Business Machines
Corporation.
All brand and product names are trademarks or registered
trademarks of their respective companies.
TABLE OF CONTENTS TABLE OF CONTENTS
1. INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . 1
2. INSTALLATION . . . . . . . . . . . . . . . . . . . . . . . 1
3. SYSTEM REQUIREMENTS . . . . . . . . . . . . . . . . . . . 1
4. FILES IN THE PACKAGE . . . . . . . . . . . . . . . . . . . 1
5. FORMAT OF COMMANDS . . . . . . . . . . . . . . . . . . . . 2
6. COMMAND LINE . . . . . . . . . . . . . . . . . . . . . . . 2
6.1 Invocation . . . . . . . . . . . . . . . . . . . . . 2
6.2 Options in more details . . . . . . . . . . . . . . 3
6.3 Error codes returned to DOS . . . . . . . . . . . . 4
6.4 Object code file formats . . . . . . . . . . . . . . 5
6.5 Environment variable . . . . . . . . . . . . . . . . 5
7. SOURCE LINE FORMAT . . . . . . . . . . . . . . . . . . . . 5
Label . . . . . . . . . . . . . . . . . . . . . . . . . 5
Opcode . . . . . . . . . . . . . . . . . . . . . . . . . 6
Operand . . . . . . . . . . . . . . . . . . . . . . . . 6
Comment . . . . . . . . . . . . . . . . . . . . . . . . 6
8. EXPRESSIONS IN THE OPERAND FIELD . . . . . . . . . . . . . 6
8.1 Symbols . . . . . . . . . . . . . . . . . . . . . . 6
8.2 Constants . . . . . . . . . . . . . . . . . . . . . 7
Numeric constants . . . . . . . . . . . . . . . . . 7
Character constants . . . . . . . . . . . . . . . . 7
The location counter . . . . . . . . . . . . . . . 8
8.3 Operators . . . . . . . . . . . . . . . . . . . . . 8
8.4 How expressions are evaluated . . . . . . . . . . . 8
9. ASSEMBLER DIRECTIVES . . . . . . . . . . . . . . . . . . . 9
ACLIST . . . . . . . . . . . . . . . . . . . . . . . . . 9
DB . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
DW . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
END . . . . . . . . . . . . . . . . . . . . . . . . . . 10
EQU . . . . . . . . . . . . . . . . . . . . . . . . . . 10
LIST . . . . . . . . . . . . . . . . . . . . . . . . . . 10
LLEN . . . . . . . . . . . . . . . . . . . . . . . . . . 10
NOACLIST . . . . . . . . . . . . . . . . . . . . . . . . 11
NOLIST . . . . . . . . . . . . . . . . . . . . . . . . . 11
ORG . . . . . . . . . . . . . . . . . . . . . . . . . . 11
PAGE . . . . . . . . . . . . . . . . . . . . . . . . . . 11
PLEN . . . . . . . . . . . . . . . . . . . . . . . . . . 11
REDEF . . . . . . . . . . . . . . . . . . . . . . . . . 12
RSB . . . . . . . . . . . . . . . . . . . . . . . . . . 12
RSW . . . . . . . . . . . . . . . . . . . . . . . . . . 12
SET . . . . . . . . . . . . . . . . . . . . . . . . . . 12
SETDP . . . . . . . . . . . . . . . . . . . . . . . . . 13
TITLE . . . . . . . . . . . . . . . . . . . . . . . . . 13
Micept Instruments Inc. - Cross Assemblers (Series II) iii
10. SPECIAL SECTION ON THE MICROPROCESSORS . . . . . . . . . 14
10.1 Motorola 6800 . . . . . . . . . . . . . . . . . . . 14
10.2 Motorola 6803 . . . . . . . . . . . . . . . . . . . 14
10.3 Motorola 6805 . . . . . . . . . . . . . . . . . . . 15
10.4 Motorola 6809 . . . . . . . . . . . . . . . . . . . 15
10.5 Rockwell 6502 . . . . . . . . . . . . . . . . . . . 16
10.6 Rockwell 65C02 . . . . . . . . . . . . . . . . . . 16
11. BUG REPORTING PROCEDURE . . . . . . . . . . . . . . . . . 16
12. UPDATE POLICY . . . . . . . . . . . . . . . . . . . . . . 17
13. REGISTRATION . . . . . . . . . . . . . . . . . . . . . . 17
APPENDIX A - EXPANDED VERSION . . . . . . . . . . . . . . . . 18
ORDERING INFORMATION . . . . . . . . . . . . . . . . . . . . 19
ORDER FORM . . . . . . . . . . . . . . . . . . . . . . . . . 20
INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Micept Instruments Inc. - Cross Assemblers (Series II) 1
1. INTRODUCTION 1. INTRODUCTION
This software are shareware distributed versions of high quality
Macro Cross Assemblers which you get when you register. These
versions however do not support macros, conditional assembly and
included files like their expanded versions do. This software are
basic two-pass assemblers for the Motorola 6800, 6803, 6805, 6809
the Rockwell 6502 and the Rockwell 65C02 microprocessors.
These powerful cross assemblers for the MS-DOS operating system
support the complete instruction set and a complete set of
directives. These assemblers can produce formatted listing files
and object code in